struct · System

ValueTuple<T1, T2, T3, T4, T5, T6>

public struct System.ValueTuple<T1, T2, T3, T4, T5, T6> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4, T5, T6>>

6 items in a value: Item1…Item6, which can be changed.

Kind
struct
Namespace
System
Assembly
System.Core
Access
public, record
Source file
Tuples.ant

Type parameters

NameConstraints
T1any type
T2any type
T3any type
T4any type
T5any type
T6any type

Inheritance

Interfaces
IToString IHashable<TSelf>

Constructors

constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4, Item5: T5, Item6: T6)
#

Methods

method ToTuple() -> System.Tuple<T1, T2, T3, T4, T5, T6>
#

The same items in a Tuple (a class).

method ToString() -> System.String<u8>
#
method Hash() -> u64
#
method Equals(other: System.ValueTuple<T1, T2, T3, T4, T5, T6>) -> bool
#

Fields

field Item1: T1
#
field Item2: T2
#
field Item3: T3
#
field Item4: T4
#
field Item5: T5
#
field Item6: T6
#

Source

ValueTuple<T1, T2, T3, T4, T5, T6> as Larva HIR, decompiled from its Larva HIR.

System.ValueTuple`6.hir
// 6 items in a value: Item1…Item6, which can be changed.
public struct System.ValueTuple<T1, T2, T3, T4, T5, T6> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4, T5, T6>>
{
    field Item1: T1
    field Item2: T2
    field Item3: T3
    field Item4: T4
    field Item5: T5
    field Item6: T6
    constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4, Item5: T5, Item6: T6)
    // The same items in a Tuple (a class).
    method ToTuple() -> System.Tuple<T1, T2, T3, T4, T5, T6>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: System.ValueTuple<T1, T2, T3, T4, T5, T6>) -> bool
}
Esc